import request from '../utils/request'

/* export const listPages = (pages,size) => {
	return request({
		url: "/api/article/page",
		method: 'get',
		params: {
			pages,
			size
		}
	})
} */

//动态板块
export function boardList () {
	return request({
		url: "/menu/boardList",
		method: 'get'
	})
}

export function findParMenuById (id) {
	return request({
		url: "/menu/findParMenuById",
		method: 'get',
		params:{
			id
		}
	})
}


//模糊查询
export function searchData (pages,size,title) {
	return request({
		url: "/article/search",
		method: 'get',
		params:{
			pages,size,title
		}
	})
}